package com.wgzx.modbus.constant;

public class ModbusConstants {
    public static final int ERROR_OFFSET = 0x80;
    public static final int SYNC_RESPONSE_TIMEOUT = 20000;
    public static final int TRANSACTION_IDENTIFIER_MAX = 65535;
    public static final int ADU_MAX_LENGTH = 260;
    public static final int MBAP_LENGTH = 7;
    public static final int DEFAULT_MODBUS_PORT = 502;
    public static final short DEFAULT_PROTOCOL_IDENTIFIER = 0;
    public static final short DEFAULT_UNIT_IDENTIFIER = 255;
}
